package com.winkey.facility.gateway.service.parking;

import com.sun.jna.NativeLong;
import com.winkey.facility.gateway.service.FacilityService;

import javax.swing.*;
import java.io.UnsupportedEncodingException;

/**
 * @author yiyingzai
 */
public interface ParkingFacilityService extends FacilityService {
    public int restart(NativeLong loginid);
    public void playVideo(NativeLong logid, JFrame Video);
    public int SnapPic(String CamIp);
    public int openGate(String CamIp);
    public int closeGate(String CamIp);
    public int setWorkMode(NativeLong loginid, byte mode);
    public int setParkVip(NativeLong loginid,byte[] plate,int type,int[] startTime,int[] endTime) throws UnsupportedEncodingException;
}
